import java.io.Serializable;
import java.util.*;

public class OperationBancaire implements Serializable {

	private static final long serialVersionUID = -7205409329918449766L;

	private char    m_typeOperation;
	private long	m_numeroOperation;
	private String  m_intituleOperation;
	private String  m_dateOperation;
	private float   m_montantOperation;

	public OperationBancaire(final Banque banque ,char type, String intitule, float montant) {

		m_typeOperation = type;
		m_dateOperation = _Banque.dateCourante();
		m_intituleOperation = intitule;
		m_montantOperation = montant;
		m_numeroOperation = banque.numeroRegistreOp();
	}

	public char getType() {

		return m_typeOperation;
	}

	public long getNumero() {

		return m_numeroOperation;
	}

	public String getDate() {

		return m_dateOperation;
	}

	public float getMontant() {

		return m_montantOperation;
	}
}
